<template>
  <el-breadcrumb separator-icon="el-icon-arrow-right" class="bread">
    <el-breadcrumb-item>首页</el-breadcrumb-item>
    <el-breadcrumb-item v-for="item in breadlist" :key="item.path" :to="{ path: item?.path }">
      {{item?.meta?.title}}
    </el-breadcrumb-item>
  </el-breadcrumb>
</template>

<script>
export default {
  name: "index",
  props:{
    breadlist:{
      type:Array,
      default:[]
    }
  },
  setup(){
    return{

    }
  }
}
</script>

<style scoped>

</style>